{extend name="Public/base" /}
{block name="body"}
<div class="layui-layout-admin sc_login">
    <div class="sc_login_inner">
        <div class="sc_login_content">
            <div class="sc_login_right">
                <form method="post" id="form" class="layui-form">
                    <dl>
                        <dt>{$sysinfo.name|default="siteCMS站点管理框架"}</dt>
                        <dd>
                            <label for="username">
                                <span class="icon"><i class="fa fa-user"></i></span>
                                <div class="layui-input-inline">
                                    <input type="text" name="username" autocomplete="off" placeholder="用户名" datatype="s4-16" errormsg="用户名至少4个字符!" nullmsg="请输入用户名!" class="layui-input" />
                                </div>
                            </label>
                        </dd>
                        <dd>
                            <label for="password">
                                <span class="icon"><i class="fa fa-key"></i></span>
                                <div class="layui-input-inline">
                                    <input type="password" name="password" autocomplete="off" placeholder="密码" datatype="*6-18" errormsg="密码范围在6~18位之间!" nullmsg="请输入密码!" class="layui-input" />
                                </div>
                            </label>
                        </dd>
                        <dd>
                            <p>
                                <button class="layui-btn">登 录</button>
                            </p>
                        </dd>
                    </dl>
                </form>
            </div>
            <div class="sc_login_left"></div>
        </div>
    </div>
</div>
{/block}
{block name="script"}
<script>
    if (window.location.href.indexOf('#') > -1) {
        window.location.href = window.location.href.split('#')[0];
    }
</script>
{/block}
